package com.summer.bean;

public class Accesstoken {
	
	private String access_token; //"7_91kFiJhDaaviCdJs4cbwO1Q53c1Vf3oXsEKo8fnxWSlbDk4Pz4mmz8A5fNhjpvmHiZNQ-WdlaFVFxO2xLEQ_ewVJuWzzCuBEi9-3gY1pA270swT-LFhJTk3mYdbqwyKvEXdCGUybA-s6zek1EBQeAJAURG", 
	private long expires_in; //4426, 剩余秒数
	private long exirpeat; //1519375345  到时间戳为止

	public String getAccess_token() {
		return access_token;
	}
	public void setAccess_token(String access_token) {
		this.access_token = access_token;
	}
	public long getExpires_in() {
		return expires_in;
	}
	public void setExpires_in(long expires_in) {
		this.expires_in = expires_in;
	}
	public long getExirpeat() {
		return exirpeat;
	}
	public void setExirpeat(long exirpeat) {
		this.exirpeat = exirpeat;
	}

	public boolean isOverdue(){
		return System.currentTimeMillis()/1000 >= exirpeat;
	}
}
